package cn.com.thinker.core.aop;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * Created by crazyHC on 2017/6/9.
 */
@SpringBootApplication(scanBasePackages = {"cn.com.thinker.core"})
public class AopApplication implements CommandLineRunner {


    @Override
    public void run(String... args) {
        System.out.println(">>>>>>>>>>>>>>>服务启动执行，执行加载数据等操作<<<<<<<<<<<<<");
    }

    public static void main(String[] args) {
        SpringApplication.run(AopApplication.class, args);
    }
}
